package com.java83.entity;

import java.io.Serializable;

/**
 * 离职原因表(LeavingReson)实体类
 *
 * @author xxx
 * @since 2021-12-14 11:49:11
 */
public class LeavingReson implements Serializable {
    private static final long serialVersionUID = -57131440443765885L;
    /**
     * 主键id
     */
    private Integer id;
    /**
     * 离职原因编码
     */
    private String leavingCode;
    /**
     * 离职原因名称
     */
    private String leavingName;
    /**
     * 离职原因描述
     */
    private String leavingDescription;

    public LeavingReson() {
    }

    public LeavingReson(Integer id, String leavingCode, String leavingName, String leavingDescription) {
        this.id = id;
        this.leavingCode = leavingCode;
        this.leavingName = leavingName;
        this.leavingDescription = leavingDescription;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLeavingCode() {
        return leavingCode;
    }

    public void setLeavingCode(String leavingCode) {
        this.leavingCode = leavingCode;
    }

    public String getLeavingName() {
        return leavingName;
    }

    public void setLeavingName(String leavingName) {
        this.leavingName = leavingName;
    }

    public String getLeavingDescription() {
        return leavingDescription;
    }

    public void setLeavingDescription(String leavingDescription) {
        this.leavingDescription = leavingDescription;
    }

    @Override
    public String toString() {
        return "LeavingReson{" +
                "id=" + id +
                ", leavingCode='" + leavingCode + '\'' +
                ", leavingName='" + leavingName + '\'' +
                ", leavingDescription='" + leavingDescription + '\'' +
                '}';
    }
}
